package com.jy.api.dao;

import com.jy.api.domain.LeaseProductOrder;
import com.jy.api.domain.LeaseProductTransaction;
import com.jy.api.domain.ProductTransaction;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @author xiaohua
 * @data 2025/5/7 0007 10:55
 */
public interface LeaseProductTransactionDao extends JpaRepository<LeaseProductTransaction, Integer>, JpaSpecificationExecutor<LeaseProductTransaction> {

    Page<LeaseProductTransaction> findByStoreId(String productId, Pageable pageable);
}
